package Patience;

public class Counter
{
	private int	pileNumber;
	private int amount;
	
	public Counter(int pileNumber, int amount)
	{
		this.pileNumber = pileNumber;
		this.amount = amount;
	}
	public int getAmount()
	{
		return amount;
	}
	public void setAmount()
	{
		amount = amount + 1;
	}
	public int getPileNumber()
	{
		return pileNumber;
	}
	public void print()
	{
		System.out.println("er waren "+amount+" stapels met "+pileNumber+" kaarten!");
	}
}
